package cn.sangedon.review.data.mapper;

import cn.sangedon.review.common.domain.data.DropLimit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Select;

/**
 * @author dongliangqiong
 * @description 针对表【tb_drop_limit】的数据库操作Mapper
 * @createDate 2022-09-27 16:32:06
 * @Entity cn.sangedon.review.data.domain.DropLimit
 */
public interface DropLimitMapper extends BaseMapper<DropLimit> {

    @Select("SELECT * FROM tb_drop_limit WHERE trade_date = (SELECT MAX(trade_date) FROM tb_drop_limit);")
    List<DropLimit> listLatestDropLimit();
}




